

package com.hazelcast.jet.impl.submitjob.memberside;

import java.util.UUID;

/**
 * Used by the member side as the wrapper for all part parameters to run an uploaded jar as Jet job
 */
public class JobMultiPartParameterObject {

    private UUID sessionId;

    private int currentPartNumber;

    private int totalPartNumber;

    private byte[] partData;

    private int partSize;

    private String sha256Hex;

    public UUID getSessionId() {
        return sessionId;
    }

    public void setSessionId(UUID sessionId) {
        this.sessionId = sessionId;
    }

    public int getCurrentPartNumber() {
        return currentPartNumber;
    }

    public void setCurrentPartNumber(int currentPartNumber) {
        this.currentPartNumber = currentPartNumber;
    }

    public int getTotalPartNumber() {
        return totalPartNumber;
    }

    public void setTotalPartNumber(int totalPartNumber) {
        this.totalPartNumber = totalPartNumber;
    }

    public byte[] getPartData() {
        return partData;
    }

    public void setPartData(byte[] partData) {
        this.partData = partData;
    }

    public int getPartSize() {
        return partSize;
    }

    public void setPartSize(int partSize) {
        this.partSize = partSize;
    }

    public String getSha256Hex() {
        return sha256Hex;
    }

    public void setSha256Hex(String sha256Hex) {
        this.sha256Hex = sha256Hex;
    }
}
